package icu.feigroup.types.design.framwork.tree;

/**
 * projectName:icu.feigroup.types.design.framwork.tree
 *
 * @author 飞
 * @since 2025/2/19 10:54
 * description:策略处理器
 * T:入参类型
 * D：上下文参数
 * R：反参类型
 */
public interface StrategyHandler <T, D, R>{
    StrategyHandler DEFAULT = (T, D) -> null;
    R apply(T requestParameter, D dynamicContext) throws Exception;
}
